<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name='format-detection' content='telephone=no,email=no' />
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no,email=no">

		<title>GetDATA</title>

		<link rel="stylesheet" type="text/css" href="./../../../../../cmp/css/cmp.css?buildversion=202104282120"/>
		<link rel="stylesheet" type="text/css" href="./index.css?buildversion=202104282120"/>

	</head>
	<body>

		<div id="app">
			
			<div class="app-query">
			
				<div v-for="(item, index) in queryParams" class="app-query-item">
					<span>{{ item.name || item.key }}</span>
					<input v-model="queryForm[item.key]">
				</div>
				
				<div class="app-query-btn">
					<button @click="onQuery">查询</button>
					<button @click="onReset">重置</button>
				</div>
			</div>
			
			<div class="app-listdata">
			
				<div v-for="(row, index) in dataList" class="app-listdata-item">
					<div v-for="(cell, index2) in dataTitle" v-if="(cell.lock || index == style.seeDetailIndex) && cell.display">
						<span>{{ cell.name || cell.key }}</span>：<span>{{ row[cell.key] }}</span>
					</div>
					<div>
						<div><button @click="onSelectSingleData(index)">选择</button></div>
						<div v-if="index != style.seeDetailIndex"><button @click="onSeeDetail(index)">查看详情</button></div>
					</div>
				</div>
				
			</div>
			
			<div class="app-load-more" @click="onLoadMore" v-if="style.hasMore">
				<span>加载更多</span>
			</div>
		</div>
	</body>


	<!-- 占位 -->
	<script type="text/javascript" src="./CMP_CORDOVA.js"></script>
	<script type="text/javascript" src="./CMP_CORDOVA_2.js"></script>

	<script type="text/javascript" src="./../../../../../cmp/js/cmp-i18n.js?buildversion=202104282120"></script>
	<script type="text/javascript" src="./../../../../../cmp/js/cmp.js?buildversion=202104282120"></script>
	<script type="text/javascript" src="./../../../../../../m3/apps/v5/commons/wechat-jssdk.js?buildversion=202104282120"></script>
	<script type="text/javascript" src="./../../../../../cmp/js/cmp-webviewListener.js?buildversion=202104282120"></script>
	
	<script type="text/javascript" src="./../../lib/vue.js?buildversion=202104282120"></script>
	<script type="text/javascript" src="./../../lib/snail.common.js?buildversion=202104282120"></script>
	<script type="text/javascript" src="./index.js?buildversion=202104282120"></script>

</html>
